<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('mechanism/courses/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('mechanism/courses/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('mechanism/courses/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        

                        

                        
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('mechanism/courses/edit')}"
                           data-operate-del="{:$auth->check('mechanism/courses/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="categorytpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                <select class="province form-control" name="pid" data-url="ajax/coursesCategory?pid=0">

                </select>
                <select class="city form-control" name="mechanism_category_top" data-url="ajax/coursesCategory" data-query-name="pid">

                </select>
                <select class="area form-control" name="mechanism_category_two" data-url="ajax/coursesCategory" data-query-name="pid">

                </select>
                <input type="hidden" class="form-control operate" name="province-operate" data-name="pid" value="="
                       readonly="">
                <input type="hidden" class="form-control operate" name="city-operate" data-name="mechanism_category_top" value="="
                       readonly="">
                <input type="hidden" class="form-control operate" name="area-operate" data-name="mechanism_category_two" value="="
                       readonly="">

            </div>
        </div>
    </div>


</script>
